<%--
  Created by IntelliJ IDEA.
  User: 26056
  Date: 2021/5/4
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script type="text/javascript" src="jquery-3.3.1.min.js"></script>
<html>
<head>

    <title>全名健康管理系统</title>

</head>
<body>

<h1>欢迎来到全名健康管理系统</h1>

<div><%=request.getSession().getAttribute("user") == null ? "你好，游客" : "你好，用户："+request.getSession().getAttribute("username") %></div>

    <form action="/user" method="post">
        <input type="submit" value="用户信息">
    </form>

    <form action="/displayIndex">
        <input type="submit" value = 文章 onclick="javascript:window.location='/content/Article.jsp';" />
    </form>

    <form action="/">
    <input type="submit" value = 聊天 onclick="javascript:window.location='/content/Article.jsp';" />
    </form>

</body>
</html>
